<?php

namespace common\repositories\cms;

use common\repositories\BaseRepository;
use common\entities\cms\DirEntity;

class DirRepository extends BaseRepository {

    static protected $handler;

    public function __construct($config = []) {
        self::$handler = new DirEntity();
        parent::__construct($config);
    }

    public function getDirList($where) {
        return self::$handler->getDirList($where);
    }

}
